package com.t282.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BasDict对象", description="")
public class BasDict extends Model<BasDict> {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "编号")
      @TableId(value = "dict_id", type = IdType.AUTO)
      private Long dictId;

      @ApiModelProperty(value = "数据类型")
      private String dictType;

      @ApiModelProperty(value = "文本")
      private String dictItem;

      @ApiModelProperty(value = "值")
      private String dictValue;

      @ApiModelProperty(value = "是否可编辑")
      private Integer dictIsEditable;


    @Override
    protected Serializable pkVal() {
          return this.dictId;
      }

}
